home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
X User Tools
/
X User Tools (O'Reilly and Associates)(1994).ISO
/
sun4c
/
archive
/
tcltk.z
/
tcltk
/
man
/
catn
/
exit.n
< prev
next >
Wrap
Text File
|
1994-09-20
|
965b
|
67 lines
exit(n) Tk Commands
_________________________________________________________________
NAME
exit - Exit the process
SYNOPSIS
exit ?_r_e_t_u_r_n_C_o_d_e?
_________________________________________________________________
DESCRIPTION
Terminate the process, returning _r_e_t_u_r_n_C_o_d_e (an integer) to
the system as the exit status. If _r_e_t_u_r_n_C_o_d_e isn't speci-
fied then it defaults to 0. This command replaces the Tcl
command by the same name. It is identical to Tcl's exit
command except that before exiting it destroys all the win-
dows managed by the process. This allows various cleanup
operations to be performed, such as removing application
names from the global registry of applications.
KEYWORDS
exit, process
Tk 1